#!/usr/bin/env bash

sudo apt-get install git vim postgresql postgresql-contrib openssh-server tree htop

sudo -i -u postgres psql <<__EOF
create role ubuntu superuser;
alter role ubuntu login;
create database dev_database owner=ubuntu;
__EOF

exit 0
git clone https://git.oschina.net/anglenet/weibo-research.git
wget https://repo.continuum.io/archive/Anaconda3-4.2.0-Linux-x86_64.sh
bash Anaconda3-4.2.0-Linux-x86_64.sh


